#ifndef __SPEED_CLOSE_LOOP_H__
#define __SPEED_CLOSE_LOOP_H__

#include "MotorDriver.h"
#include "CurrentSenser.h"
#include "MT6701.h"
#include "FOC_transform.h"
#include "PID.h"

extern float position_t; // 目标速度
extern PIDController pid_p;

void speed_close_loop_init(void);
void speed_close_loop_update(void);

#endif
